import { getData } from '@/servers/http'
import type { Formresult } from './interface'
//获取g关卡数据
export const getBarriers = (id: string, data?: any) => getData<any, Formresult.FormResultRes>(`/user-barriers/${id}`, data)

/** 任务完成 */
export const finishBarrier = (id: string) => getData(`/user-barriers/batch-input/${id}`)
